package main

import "iot-base/common/ctrltype"

type DoorControl interface {
	Order(pCmd *ctrltype.CtrlCmd) (map[string]interface{}, error)
	insertPerson(id string, params map[string]interface{}, arrayParams []map[string]interface{}) (map[string]interface{}, error)
	delPerson(id string, params map[string]interface{}, arrayParams []map[string]interface{}) (map[string]interface{}, error)
	queryPerson(id string, params map[string]interface{}, arrayParams []map[string]interface{}) (map[string]interface{}, error)
	insertCard(id string, params map[string]interface{}, arrayParams []map[string]interface{}) (map[string]interface{}, error)
	delCard(id string, params map[string]interface{}, arrayParams []map[string]interface{}) (map[string]interface{}, error)
	queryCard(id string, params map[string]interface{}, arrayParams []map[string]interface{}) (map[string]interface{}, error)
	open(id string, params map[string]interface{}, arrayParams []map[string]interface{}) (map[string]interface{}, error)
}
